package tempEngine.network.hostSide;

import java.awt.Point;

import tempEngine.GameHandler;
import tempEngine.PlayerHandler;
import tempEngine.network.protocols.exceptions.NoFreeSlotException;

public class HostGameHandler extends PlayerHandler 
			implements GameHandler{

	@Override
	public void update(Point p) {
		// TODO send a networkNotify to all the listeners
		
	}

	public void addAsPlayer(HostSocketThread hostSocketThread) throws NoFreeSlotException {
		// TODO check if there is a Player spot
		//if yes use this one, then ask for starting the game
		//else throw a new exception
	}

	public void addAsSpectator(HostSocketThread hostSocketThread) throws NoFreeSlotException{
		// TODO Add the socket as a spectator 
		
	}

	@Override
	public void setNewCoords(Point fstPoint, Point sndPoint) {
		// TODO Auto-generated method stub
		
	}

}
